<?php 
	$model = $this->model;
	$sNumber_Symbol = $model['NumberMain'];
	if(isset($model['NumberAdd'])){
		$sNumber_Symbol .= $model['NumberAdd'];
	}
	$sNumber_Symbol .= '/'.$model['Symbol'];
?>
<form id="frmUpdate" method="post" action="" enctype="multipart/form-data">
	<div class="frm">
		<div class="block">
			<fieldset id="fieldset-row_doc_info">
				<legend>Thông tin cơ bản</legend>	
				<div class="form element">
					<label style="font-weight: bold;">Số ký hiệu</label>
					<label style="clear:none;float:left;text-align: left;"><?=$sNumber_Symbol?></label>
				</div>
				<div class="form element">
					<label style="font-weight: bold;">Trích yếu, file đính kèm</label>
					<label style="clear:none;float:left;text-align: left;width: auto;"><?=$model['Subject']?></label>
				</div>
				<div class="form element">
					<label style="font-weight: bold;">Ngày ban hành</label>
					<label style="clear:none;float:left;text-align: left;"><?=$model['SendDate']?></label>
				</div>
				<div class="form element">
					<label style="font-weight: bold;">Người ký</label>
					<label style="clear:none;float:left;text-align: left;"><?=$model['ApprovedName']?></label>
				</div>
				<div class="form element">
					<label style="font-weight: bold;">Nơi nhận</label>
					<label style="clear:none;float:left;text-align: left;"><?=$model['ReceivedInfo']?></label>
				</div>
			</fieldset>
		</div>
		<div class="block">
			<fieldset id="fieldset-row_doc_info">
				<legend>Thông tin nhận văn bản</legend>
                <div id="jqxWidget">
                    <div id="jqxgridRop"></div>
                </div>				
			</fieldset>
		</div>
	</div>
</form>
<script type="text/javascript">
	var ajaxurl = baseUrl + '/ajax/openfile/';
	var formObj = $('#frmUpdate');
	setAttachEven(formObj,ajaxurl);
</script>